package com.bella.api.system.dao.mapper.ext;

import com.bella.api.system.dao.mapper.AuthUserMapper;
import com.bella.api.system.dao.model.AuthUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

public interface AuthUserExtendMapper extends AuthUserMapper {
    /**
     * 用户登录
     * @param userName  用户名
     * @return
     */
    AuthUser login(String userName);
    List<AuthUser> getAdminList(@Param("userName") String userName,@Param("phone") String phone);
}